package Java语言.数据结构.表;

import java.util.TreeMap;

public class InitializeMapWithInnerClass {
    public static void main(String[] args) {
        TreeMap<Integer, String> tm = new TreeMap<Integer, String>() {{
            put(2, "2");
            put(3,"3");
            put(1,"3");
        }};
    }
}
